package cn.wygandwdn.common.enumeration;

/**
 * @description:
 * @author: WYG
 * @time: 2021/10/24 17:20
 */

public enum SerializerType {

    Proto("Proto", 0),
    Gson("Gson", 1),
    Kryo("Kryo", 2);

    private String type;
    private Integer code;

    SerializerType(String type, Integer code) {
        this.type = type;
        this.code = code;
    }

    public String getType() {
        return type;
    }

    public Integer getCode() {
        return code;
    }
}
